import request from '@/utils/request'

export function fetchBilletedWareHouseList(params) {
  return request({
    url: '/api/billetedWarehouse/getList',
    method: 'post',
    params
  })
}

export function createBilletedWarehouse(params) {
  return request({
    url: '/api/billetedWarehouse/add',
    method: 'post',
    params
  })
}

export function updateBilletedWarehouse(data) {
  return request({
    url: '/api/billetedWarehouse/update',
    method: 'post',
    data
  })
}

export function deleteBilletedWarehouse(params) {
  return request({
    url: '/api/billetedWarehouse/delete',
    method: 'post',
    params
  })
}